﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class 实验三_3_1_a : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        StudentClassesDataContext db = new StudentClassesDataContext();
        var stus = from x in db.Student
                   select x;
        GridView1.DataSource= stus;
        GridView1.DataBind();
    }
}